#ifndef WXSWIDGET_H
#define WXSWIDGET_H

#include "wxsitem.h"
#include "wxsbaseproperties.h"
#include "wxsstyle.h"
#include "wxsflags.h"
#include <prep.h>

using namespace wxsFlags;
class wxsWidget: public wxsItem {
  public:
    wxsWidget( wxsItemResData* Data, const wxsItemInfo* Info,
               const wxsEventDesc* EventArray = 0, const wxsStyleSet* StyleSet = 0, long PropertiesFlags = flWidget );
  protected:
    virtual void OnEnumWidgetProperties( long Flags ) = 0;
    virtual void OnAddWidgetQPP( M_Code_unused wxsAdvQPP* QPP ) { }
  private:
    virtual void OnEnumItemProperties( long Flags );
    virtual void OnAddItemQPP( wxsAdvQPP* QPP );
};

#endif
